<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            font: 12px "simhei", Arial, Helvetica, sans-serif;
            color: #666;
            text-align: center;


        }
        div{
            width: 198px;
            height: 233px;
            background-color: #e8e8e8;
            overflow: hidden;
        }
        img{
            width: 198px;
            height: 136px;

        }
        .title_p{
            color: #333333;
            margin: 0 0 6px 0;
        }
        .price_p{
            color: #0AA1ED;
            font-weight: bold;
            margin: 6px 0;

        }
        a{
            background-color: #0AA1ED;
            width: 100px;
            height: 24px;
            /*行内元素和行内块元素如果上级元素设置了text-align:center 则元素居中*/
            display: inline-block;
            /*块级元素不受上级text-align:center的影响，元素不会居中
            需要通过添加以下 margin:0 auto 写法让元素在一行内居中*/
            text-decoration: none;
            color: #E8E8E8;
            line-height: 24px;
        }

    </style>
</head>
<body>
    <div>
        <img src="http://doc.canglaoshi.org/tstore_v1/images/itemCat/study_computer_img3.png" alt="">
        <p class="title_p">戴尔(DELL)XPS13-9360-R1609 13.3英寸微边框笔记本电脑</p>
        <p class="price_p">￥4600.00</p>
        <a href="">查看详情</a>
    </div>

</body>
</html>